package object;

public class GirlFriend {
    private String name;
    private double tall;
    private double weight;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getTall() {
        return tall;
    }

    public void setTall(double tall) {
        this.tall = tall;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public GirlFriend(String name, double tall, double weight) {
        this.name = name;
        this.tall = tall;
        this.weight = weight;
    }

    public GirlFriend() {
    }

    public void wash() {
        System.out.println("女朋友帮我做饭");
    }

    public void cook() {
        System.out.println("女朋友帮我洗衣服");
    }

    public void show() {
        System.out.println("我的女朋友叫" + name + ",身高" + tall + "厘米,体重" + weight + "斤");
    }

}
